
import { postRequest, getRequest } from '/src/lib/axios';

export const productApi = {
  // 分页查询
  queryList: (param) => {
    return postRequest('/product/page/query', param);
  },

  // 新增
  add: (param) => {
    return postRequest('/product/add', param);
  },

  // 修改
  update: (param) => {
    return postRequest('/product/update', param);
  },
};